public class GenericHoleAchievement : Achievement
{
	public SkinParameters skinParameters;

	public AchievementKeys CurrentStateKey;

	public override int GetRealCurrentState()
	{
		return AchievementManager.Instance.GetData(CurrentStateKey);
	}

	public override void OnValidation()
	{
		SkinManager.Instance.UnlockSkinWithAchievement(unlockableSkinId);
	}

	public override string GetDescription()
	{
		return LocalizationManager.GetTranslation(description).Replace("{X}", objective.ToString("# ###"));
	}
}
